/*
 * I_Processor.java
 */

package pipeline;


/**
 * A data processor for the pipeline.
 *
 * @author Luca Molari
 * @param <I> the input item's type.
 * @param <O> the output item's type.
 */
public interface I_Processor<I,O> {

	
    /**
     * Process an item.
     *
     * @param in the input item.
     * @return the output item.
     */
    public O process(I in);

    
}
